<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>分类信息修改</title>
	<link rel="icon" href="__PUBLIC__/images/logo.ico">
	<link rel="stylesheet" href="__PUBLIC__/css/categoryheader.css">
	<link rel="stylesheet" href="__PUBLIC__/css/categoryUpdate.css">
</head>
<body>
<include file="Category/header"/>
			<div class="f-r">
				<div class="f-r-h">
					分类信息修改
				</div>
				<form method="post">
						<div class="form-l">
							<label for="name">分类名称:</label>
							<label for="parent_id">父分类:</label>
							<label for="category_describe">分类描述:</label>
							<label for="sort">分类排序(首页分类的显示顺序):</label>
							<label for="active">是否上架(1上架):</label>
						</div>
						<div class="form-r">
							<input type="hidden" name="id"  value="{$category.id}">
							<input type="text" name="name" id="name" value="{$category.name}">
							<select name="parent_id" id="parent_id">
								<option value="0">顶级分类</option>
								<volist name="categorys" id="vo">
									<option value="{$vo.id}" <eq name="vo.id" value="$category.parent_id">selected</eq>>{$vo.name}</option>
								</volist>
							</select>
							<input type="text" class="desc" name="category_describe" id="category_describe" value="{$category.category_describe}">
							<input type="number" class="sort" name="sort" id="sort" min="0" max="100" value="{$category.sort}">
							<select name="active" id="active">
								<option value="0" <eq name="category.active" value="0">selected</eq>>不上架</option>
								<option value="1" <eq name="category.active" value="1">selected</eq>>上架</option>
							</select>
							<input type="submit" name="sub" value="修改" onclick="return confirm('确认修改编号为{$category.id}的分类?');">
						</div>
						<div class="clearfix"></div>
					</form>
			</div>
<include file="Category/footer"/>
